package cn.wubo.vrr.help.service.impl;

import cn.wubo.vrr.help.entity.Link;
import cn.wubo.vrr.help.repository.LinkRepository;
import cn.wubo.vrr.help.service.LinkService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class LinkServiceImpl implements LinkService {
    @Autowired
    LinkRepository linkRepository;


    @Override
    public List<Link> findAll() {
        return linkRepository.findAll();
    }
}
